/*
** convert_to_hex_small.c for  in /home/georgi_v/rendu/PSU_2013_my_printf
** 
** Made by georgi_v
** Login   <georgi_v@epitech.net>
** 
** Started on  Sun Nov 17 05:47:19 2013 georgi_v
** Last update Fri Dec  6 19:42:51 2013 georgi_v
*/

#include "my.h"

int     convert_to_dec(va_list list)
{
  int   result;

  result = va_arg(list, int);
  if (result == 0)
    {
      my_putchar('0');
      return (1);
    }
  return (convert_to_base_sign(result, "0123456789"));
}
